package com.huawei.spare.part.replace.models;

import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;

import java.io.Serializable;

public class Uplink implements Serializable {

    private StringProperty switchPort;     // 面板端口
    private StringProperty businessPort;         //  对接端口
    private StringProperty remark;             // 备注1

    public Uplink() {
        this.switchPort = new SimpleStringProperty();
        this.businessPort = new SimpleStringProperty();
        this.remark = new SimpleStringProperty();
    }

    public Uplink(String switchPort, String businessPort, String remark) {
        this.switchPort = new SimpleStringProperty(switchPort);
        this.businessPort = new SimpleStringProperty(businessPort);
        this.remark = new SimpleStringProperty(remark);
    }

    public StringProperty switchPortProperty() {
        return switchPort;
    }

    public StringProperty businessPortProperty() {
        return businessPort;
    }

    public StringProperty remarkProperty() {
        return remark;
    }

}
